home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 355 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: hpcvsnz.cv.hp.com!news
  2. From: "Khile T. Klock" <klockk@wsadmin2.cv.hp.com>
  3. Newsgroups: comp.lang.cobol,comp.lang.perl,comp.lang.perl.misc,comp.lang.c
  4. Subject: COBOL <->Perl Interface...
  5. Date: Thu, 04 Jan 1996 11:24:45 -0800
  6. Organization: Hewlett-Packard Co., Ink-Jet Business Unit, Corvallis, OR.
  7. Message-ID: <30EC297D.5579@wsadmin2.cv.hp.com>
  8. NNTP-Posting-Host: wsadmin2.cv.hp.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b3 (X11; I; HP-UX A.09.05 9000/715)
  13. CC: jeff_okamoto@corp.hp.com
  14.  
  15. Howdy ho!
  16.  
  17. I got a rather interesting question I am trying to find the answer to.
  18.  
  19. We have a rather large software package running here that is written in COBOL.  This program
  20. as an overlaying user interface that is now written in C', creating an X-windows interface.
  21.  
  22. This software allows for user specified code to be input/compiled into certain points of it...
  23.  
  24. I've written a nice X-Type GUI interface for one of these user exits, written in perl5 w/Tk Exntentions.
  25.  
  26. Now the fun starts.. How to paste it all together.. I have information I need to compile C' code into
  27. the COBOL, and have things work, but I really need to get the COBOL program variables/data into
  28. the Perl program I've written.. I get this stuff into C with no problem.. So right now I'm thinking of
  29. passing the stuff to a C' program via  CALL "user_c" USING BLA-PARAMETER-LIST.
  30. then having the C' code call perl to do it's stuff...
  31.  
  32. Is there a simply way to just pass data between perl and COBOL instead???
  33.  
  34. If Not... The question needs to be answered in the PERL groups... How can I access these variables
  35. from PERL... Is there an easy way to simply access the C' .h data structures from perl with out the need 
  36. of C', or do I have the paste all three of these together...
  37.  
  38. Hope this makes sense....
  39.  
  40.  
  41.                         Thanx'
  42.                             Khile Klock
  43. -- 
  44. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  45. Khile T. Klock                   |  klockk@wsadmin2.cv.hp.com
  46. Software (CIM) Technician        |  klockk@hpcvif10.cv.hp.com
  47. WorkStream Support               |  klockk@hpcvsgen.cv.hp.com
  48. Hewlett Packard                  |  klockk@hotlin.fidonet.org
  49. InkJet Business Unit             |  hotline@proaxis.com 
  50. Corvallis, Oregon                |  (http://www.proaxis.com/~hotline)
  51. ---------------------------------+-----------------------------------
  52.        Phone: (503) 715-1466            Pager: (503) 924-5575 
  53. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  54.